package forum.command.console;

import forum.command.Command;
import forum.command.CommandContext;

public class ExitCommand implements Command {

    @Override
    public void execute() {
        System.exit(0);
    }

    @Override
    public void setContext(CommandContext context) {

    }

    @Override
    public void updateContext(CommandContext context) {

    }

    @Override
    public String help() {
        return "Type 'exit' to leave program";
    }

    @Override
    public void setParameters(String... args) {

    }

}
